//
//  HKRequestDefine.h
//  KSBridgeDesign
//
//  Created by huzhaoke on 2021/12/26.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
//http://159.226.186.145
//http://123.57.61.78
#define LINK_BASE_URL(subUrl) [NSString stringWithFormat:@"http://159.226.186.145/timebagapp/%@",subUrl]

#define LINK_BASE_WEB_URL(subUrl) [NSString stringWithFormat:@"http://159.226.186.145/app/#/%@",subUrl] //网址拼接

#define HKLoginPath  @"app/timebagAppLogin/login"
#define HKLoginUrl LINK_BASE_URL(HKLoginPath)

// 首页接口
#define HKMainPath  @"app/timebagAppLogin/index"
#define HKMainUrl LINK_BASE_URL(HKMainPath)

// 消息列表
#define HKNoticePath  @"app/timebagAppLogin/messageList"
#define HKNoticeUrl LINK_BASE_URL(HKNoticePath)

// 已读接口
#define HKHasReadPath  @"app/timebagAppLogin/isRead?messageId="
#define HKHasReadUrl   LINK_BASE_URL(HKHasReadPath)
 
// 网页接口
// id = 1
#define HKCreateschedulePath @"createschedule"
#define HKCreatescheduleUrl LINK_BASE_WEB_URL(HKCreateschedulePath)

// id = 2
#define HKEmotionhomePath @"emotionhome"
#define HKEmotionhomeUrl LINK_BASE_WEB_URL(HKEmotionhomePath)

// id = 3
#define HKExperiencePath @"experience"
#define HKExperienceUrl LINK_BASE_WEB_URL(HKExperiencePath)

// id = 4
#define HKGoalPath @"goal"
#define HKCreateGoalUrl LINK_BASE_WEB_URL(HKGoalPath)

// 首页的问卷
#define HKQuestionhomePath @"questionhome"
#define HKQuestionhomeUrl LINK_BASE_WEB_URL(HKQuestionhomePath)

// 消息 type = 2
#define HKMessagefortesterPath @"messagefortester"
#define HKMessagefortesterUrl LINK_BASE_WEB_URL(HKMessagefortesterPath)

// 消息 type = 1
#define HKMessageOnePath @"message/testDetails?source=messagequestion&id="
#define HKMessageOneUrl LINK_BASE_WEB_URL(HKMessageOnePath)

// 消息 type = 3
#define HKMessageThreePath @"messagetemp/detail?id="
#define HKMessageThreeUrl LINK_BASE_WEB_URL(HKMessageThreePath)

#define HKPublicImagePath @"app/timebagAppLogin/faceCheck"
#define HKPublicImageUrl  LINK_BASE_URL(HKPublicImagePath)

#define HKPublicSandianImagePath @"app/timebagAppLogin/sandianUpload"
#define HKPublicSandianImageUrl  LINK_BASE_URL(HKPublicSandianImagePath)

#define HKPublicCommonImageUrl @"app/timebagAppLogin/upload"

#define HKPublicFilePath @"app/timebagAppLogin/upload"
#define HKPublicFileUrl  LINK_BASE_URL(HKPublicFilePath)

#define HKDownloadListPath  @"user/image/page/list"
#define HKDownloadListUrl   LINK_BASE_URL(HKDownloadListPath)

#define HKUnregisterPath @"user/del/by/token"
#define HKUnregisterUrl  LINK_BASE_URL(HKUnregisterPath)


@interface HKRequestDefine : NSObject

@end

NS_ASSUME_NONNULL_END
